package com.xinhe.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@ApiModel(description = "菜单查询视图")
public class MenuView {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("路由名")
    private String routerName;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("在侧边栏显示的菜单标题")
    private String title;
    @ApiModelProperty("菜单排序")
    private Integer sequence;
    @ApiModelProperty("vue组件路径")
    private String component;
    @ApiModelProperty("类型（菜单或者操作按钮）")
    private Integer type;
    @ApiModelProperty("进入路由时携带的参数")
    private String params;
    @ApiModelProperty("地址(http/https)开头表示外链路由")
    private String path;
    @ApiModelProperty("父id")
    private Long parentId;
    @ApiModelProperty("界面终端")
    private Integer terminal;
    @ApiModelProperty("备注")
    private String remark;
    private Integer childAmount;
}
